package org.yefei.homeworkday23;

import java.util.Calendar;

public class Two {
	// 2：输出今年的国庆节（10.1）是周几
	public static void main(String[] args) {
		Calendar c = Calendar.getInstance();
		c.getTime();
		c.set(Calendar.MONTH, 9);
		c.set(Calendar.DATE, 1);
		int i = c.get(Calendar.DAY_OF_WEEK);
		System.out.println("今年的国庆节是周" + (i - 1));

	}

}
